package com.linked.basemanage.permissioncontrol.bean.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author :dbq
 * @date : 2023/2/22 14:13
 * @description : desc
 */
@Data
@TableName("basemanage_menu_info")
public class MenuInfoPO {
    @TableId(value = "menu_id", type = IdType.ASSIGN_UUID)
    private String menuId;
    @TableField("system_key")
    private String systemKey;
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @TableField("update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    @TableField("data_status")
    private Integer dataStatus;
    @TableField("menu_name")
    private String menuName;
    @TableField("logo_id")
    private String logoId;
    @TableField("menu_addr")
    private String menuAddr;
    @TableField("module_addr")
    private String moduleAddr;
    @TableField("menu_order")
    private Integer menuOrder;
    @TableField("menu_father")
    private String menuFather;
    @TableField("if_father")
    private Integer ifFather;
    @TableField("if_son")
    private Integer ifSon;
}
